#pragma once

#define ROW 9
#define COL 9

#define ROWS ROW+2
#define COLS COL+2

#define COUNT 80

#include<stdio.h>
#include<stdlib.h>
#include<time.h>

void init_board(char board[ROWS][COLS], int rows, int cols,char set);
void print_board(char board[ROWS][COLS], int row, int col);
void mine_set(char board[ROWS][COLS], int row, int col, int count);
void mine_sweep(char board1[ROWS][COLS], char board2[ROWS][COLS], int row, int col);